package com.xuecheng.content.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author Tang
 * @version 1.0
 * @date 2023/12/26 15:21
 */
@Data
public class EditCourseDto extends AddCourseDto implements Serializable {
    @ApiModelProperty(value = "课程id", required = true)
    @NotEmpty(message = "课程id不能为空")
    private Long id;
}
